package security.events;

import java.io.Serializable;

import org.springframework.context.ApplicationListener;
import org.springframework.security.authentication.event.AuthenticationSuccessEvent;

public class LogonSuccessEvent implements ApplicationListener<AuthenticationSuccessEvent>, Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2660288595522794870L;

	public LogonSuccessEvent() {
		super();
	}

	@Override
	public void onApplicationEvent(AuthenticationSuccessEvent event) {
		System.out.println("---ktos poprawnie sie zalogowal!");
	}

}
